/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 张宇田
 * Date: 2024-10-26
 * Time: 14:30
 */
/*
public class Main {
    public static void main(String[] args) {
        String input = "te,tw,yy,fwe,wf,fwa,af,fa"; // 接收给定的一行字符串
        String[] array = input.split(","); // 切割字符串，得到一个字符串数组
        */
/*
        * 数组长度大于5时打印 第五个 小于时越界
        * *//*

        try {
            // 尝试输出数组中第五个元素，索引为4
            System.out.println(array[4]);
        } catch (ArrayIndexOutOfBoundsException e) {
            // 捕获数组越界异常，并输出提示语
            System.out.println("数组长度小于5");
            e.printStackTrace();
        }
    }
}*/
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
        }
    }

}

class Data {

    private int x;
    private int y;

    public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

}